/*
 * commons is a based project implemented
 * Copyright (C) 2024 Jasmine
 */
package com.easy.log.props;

import java.util.Set;

import org.springframework.boot.context.properties.ConfigurationProperties;

import com.easy.core.constant.PropertiesConstants;
import com.easy.log.enums.Include;

/**
 * 日志配置属性
 *
 * @author Jasmine
 * @since 1.0.0
 */
@ConfigurationProperties(PropertiesConstants.LOG)
public class LogProperties {

    /**
     * 是否启用日志
     */
    private boolean enabled = true;

    private Set<Include> includes;

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    public Set<Include> getIncludes() {
        return includes;
    }

    public void setIncludes(Set<Include> includes) {
        this.includes = includes;
    }
}
